package syn;

import jsm.comsuner.JmsConsumer;

public class ConsumerSyn {
	
	private JmsConsumer consumer;
	
	public ConsumerSyn() {
//		consumer = new JmsConsumer();
	}
	
	public void consume() {
		while (true) {
//			String text = consumer.consume();
//			System.out.println("text:"+text);
//			if (text.equals("hello0")) {
//				Thread.sleep(30000);;
//			}
		}
	}

}
